package com.sql;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 
 */
public class OtaSend implements Serializable {
    private Integer id;

    private String gprsId;

    /**
     * 1 升级STM32主机；2 升级蓝牙主机；3 升级蓝牙从机；

     */
    private Integer target;

    /**
     * 升级文件路径
     */
    private String binFilePath;

    /**
     * 固件类型
     */
    private Integer firmware;

    private Integer version;

    /**
     * 指定需要升级的从机序号,如需升级1,3,24号从机则为1-3-24
     */
    private String slaveIndexes;

    private Integer sendDone;

    /**
     * 升级结果附加信息
     */
    private String resultInfo;

    private Date updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getGprsId() {
        return gprsId;
    }

    public void setGprsId(String gprsId) {
        this.gprsId = gprsId;
    }

    public Integer getTarget() {
        return target;
    }

    public void setTarget(Integer target) {
        this.target = target;
    }

    public String getBinFilePath() {
        return binFilePath;
    }

    public void setBinFilePath(String binFilePath) {
        this.binFilePath = binFilePath;
    }

    public Integer getFirmware() {
        return firmware;
    }

    public void setFirmware(Integer firmware) {
        this.firmware = firmware;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public String getSlaveIndexes() {
        return slaveIndexes;
    }

    public void setSlaveIndexes(String slaveIndexes) {
        this.slaveIndexes = slaveIndexes;
    }

    public Integer getSendDone() {
        return sendDone;
    }

    public void setSendDone(Integer sendDone) {
        this.sendDone = sendDone;
    }

    public String getResultInfo() {
        return resultInfo;
    }

    public void setResultInfo(String resultInfo) {
        this.resultInfo = resultInfo;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}